<template>
  <div class="app-container home">
    <el-carousel :interval="4000" type="card" height="260px">
      <el-carousel-item v-for="item in images" :key="item">
        <img :src="item.url" alt=""/>
<!--        <h3 class="medium">{{ item }}</h3>-->
      </el-carousel-item>
    </el-carousel>
<!--    <el-divider />-->

    <el-row :gutter="20">
<!--      <el-col :sm="24" :lg="12" style="padding-left: 20px">-->
        <h2>系统相关</h2>
      <el-collapse>
        <el-collapse-item title="系统名称" name="1">
          <p>康桥云台管理系统</p>
        </el-collapse-item>
        <el-collapse-item title="当前版本" name="2">
            <p>v{{ version }}</p>
        </el-collapse-item>
        <el-collapse-item title="版权信息" name="3">
          <p>XXXXXX</p>
        </el-collapse-item>
      </el-collapse>

    </el-row>

  </div>
</template>

<script>
export default {
  name: "Index",
  data() {
    return {
      // 版本号
      version: "3.8.1",
      images:[
        {url:require("@/assets/carousel/1.jpg")},
        {url:require("@/assets/carousel/2.jpg")},
        {url:require("@/assets/carousel/3.jpg")},
        {url:require("@/assets/carousel/4.jpg")},
      ],

    };
  },
  methods: {
    goTarget(href) {
      window.open(href, "_blank");
    },
  },
};
</script>

<style scoped lang="scss">
.home {
  blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee;
  }
  hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
  }
  .col-item {
    margin-bottom: 20px;
  }

  ul {
    padding: 0;
    margin: 0;
  }

  font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #676a6c;
  overflow-x: hidden;

  ul {
    list-style-type: none;
  }

  h4 {
    margin-top: 0px;
  }

  h2 {
    margin-top: 10px;
    font-size: 26px;
    font-weight: 100;
  }

  p {
    margin-top: 10px;

    b {
      font-weight: 700;
    }
  }
}
</style>

